package com.mayisoftware.mayioa.business.input.impl.dao;

import com.mayisoftware.mayioa.business.input.api.domain.UploadRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 计划上传记录查询
 */
@Mapper
public interface UploadRecordMapper {

    /**
     *
     * 查询过滤记录信息
     * */
    List<UploadRecord> selectRecordList(UploadRecord record);

    /**
     * 根据ID查询记录信息
     */
    List<UploadRecord> selectRecordListById(@Param("recordId") String recordId);

    /**
     * 查询需要解析的记录
     */
    List<UploadRecord> selectRecordListNeedParse();

    /**
     *
     * 更新上传记录
     * */
    int updateInputRecord(UploadRecord record);

    /**
     * 插入上传记录
     * */
   int insertInputRecord(UploadRecord record);
}
